package com.laboratory.manage.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.laboratory.manage.entity.UserEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserDao extends BaseMapper<UserEntity> {
//    UserEntity findByUsername(@Param("username") String username);
    UserEntity findUserById(@Param("Id") String Id);
    /**
     * 根据用户名，查询系统用户
     */
    UserEntity queryByUserName(@Param("username") String username);
}
